package com.leyou.trade.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.leyou.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;


@Data
@EqualsAndHashCode(callSuper = false)
@Document("carts")
public class Cart extends BaseEntity {
    @Id
    private Long id;
    private String image;
    private Integer num;
    private Long price;
    private Long skuId;
    private String spec;
    private String title;
}